home *** CD-ROM | disk | FTP | other *** search
/ Tech Multimedia News 4 / Tech Multimedia News #4 (1994).iso / share / dos / gifbrt / gifbrght.doc < prev    next >
Encoding:
Text File  |  1992-11-15  |  2.5 KB  |  63 lines

  1. Description:
  2. ===========
  3.   I realize that the instructions supplied with this program may be confusing
  4. to some, so here is a rather weak attempt at an explanation:
  5.  
  6. GIFBright modifies the palette of a GIF format picture.
  7. It does so by adding a specified value (positive or negative) to a given
  8. palatte colour (specifically, any of bytes for the (R)ed (G)reen (B)lue
  9. components of the colour) so long as the value of the byte lies within the
  10. selected range (before the operation). Should the range be exceeded by
  11. the addition/subtraction, the value is rounded to the highest/lowest
  12. selection for the range.
  13.  
  14. Now, to try and make it understandable:
  15.  
  16.     GIFBright AKo.GIF BKo.GIF /a+30 /l40 /h=60
  17. will added 30 to all the colour bytes in the palette of AKo.GIF that
  18. initially lie between 40 and 60, rounding the values to sixty (since the
  19. range will *always* be exceeded).
  20.  
  21.     GIFBright Ranma1.GIF Ranma2.GIF /a-60 /l00 /h=255
  22. will subtract 60 from EVERY colour byte, since the minimum for a colour
  23. byte is 0 and the maximum is 255. Should the value go below zero, it will
  24. be rounded to 0.
  25.  
  26. It's also possible to have multiple actions defined:
  27.     GIFBright Lum.GIF LumSuit.GIF /r+160 /b-200
  28.  
  29. If you have any questions, email me at ejajko@hertz.elee.calpoly.edu
  30.  
  31.  
  32. Help Screen:
  33. ===========
  34.  
  35.   GIFBRIGHT - fiddles with colour intensity for GIF format pictures
  36.  
  37.   version 1.1, updated 10/3/1992, created 5/9/1992 by Edward W. Jajko
  38.   All rights reserved. This program may not be sold or distributed with any
  39.     commercial package, nor modified without consent. No responsibility is
  40.     taken for any damage caused by the use of this program.
  41.  
  42.   syntax:  gifbrght  infile  outfile [/w[argb]] [[/[argb][+-]#]...] [/l#] [/h#]
  43.  
  44.   operation: copies GIF info from <infile> to <outfile> and modifies
  45.     those colours greater or equal then low value ('/l#', default=5) and less
  46.     than or equal to high value ('/h#', default=255) by adding the respective
  47.     amount to the colours specified (a->all colours, r->red, g->green,
  48.     b->blue) and leveling out at the specified maximum or minimum. Colour 
  49.     modifers may besigned numbers; multiple colour modifiers can be specified.
  50.     a whiteout operation (/w[argb]) causes all colour bytes to be set to the
  51.     to an average of the colours specified.
  52.  
  53. Mail any bugs/suggestions to ejajko@hertz.elee.calpoly.edu
  54.  
  55.  
  56. History:
  57. =======
  58.   1.0    first release
  59.   1.1    added whiteout (convert to black & white) function
  60.     added independant colour actions
  61.     added a slightly better help document
  62.  
  63.